package com.huaguoguo.cyg.entity.weibo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author huaguoguo
 * @since 2020-02-09
 */
@TableName("wb_detail")
@Data
@Builder
public class WbDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 博客主键id
     */
    @TableId(type = IdType.INPUT)
    private String mid;

    /**
     * 发微博日期时间
     */
    @TableField(value = "from_date_time")
    private LocalDateTime fromDateTime;

    /**
     * 发微博的终端
     */
    @TableField(value = "from_end_point")
    private String fromEndPoint;

    /**
     * 文本内容
     */
    @TableField(value = "wb_text")
    private String wbText;

    /**
     * 转发微博的mid
     */
    @TableField(value = "feed_expand_mid")
    private String feedExpandMid;

    /**
     * 博客多媒体表主键id
     */
    @TableField(value = "wb_media_id")
    private Integer wbMediaId;

    /**
     * 转发数量
     */
    private Integer forward;

    /**
     * 评论数
     */
    @TableField(value = "comment_number")
    private Integer commentNumber;

    /**
     * 点赞数
     */
    @TableField(value = "like_number")
    private Integer likeNumber;


}
